From 026aab7e1c679a08ecc55c9e9262cdc354747751 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 22 Jun 2010 03:06:28 +0000 Subject: [PATCH] C89 fix in compegps. --- compegps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compegps.c b/compegps.c index b91720838..eb5fa0f59 100644 --- a/compegps.c +++ b/compegps.c @@ -151,8 +151,8 @@ parse_wpt(char *buff) char *c, *cx; waypoint *wpt = waypt_new(); struct tm tm; - memset(&tm, 0, sizeof(tm)); int has_time = 0; + memset(&tm, 0, sizeof(tm)); c = strstr(buff, "A "); if (c == buff) col++; -- 2.30.2